home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Unix / CopyPath / Makefile < prev    next >
Makefile  |  1995-04-29  |  775b  |  27 lines

  1. #
  2. # Makefile for the "CopyPath" program
  3. # .daemon suffix will prevent Workspace from displaying the app icon or passing
  4. # -NXServiceLaunch YES -MachLaunch <reply id> <window number>
  5.  
  6. NAME = CopyPath
  7. MFILES = CopyPath.m
  8. OFILES = CopyPath.o
  9. LIBS = -lNeXT_s -lsys_s
  10. CFLAGS = -O -arch m68k -arch i386 -arch hppa -arch sparc
  11. # CFLAGS = -g -Wimplicit
  12. # Need to put section __services in segment __ICON for spec for services
  13. LDFLAGS = -segcreate __ICON __header $(NAME).iconheader \
  14. -segcreate __ICON app defaultDaemonIcon.tiff \
  15. -segcreate __ICON __services $(NAME).services
  16.  
  17. $(NAME): $(OFILES)
  18.     $(CC) $(CFLAGS) -s $(LDFLAGS) -o $(NAME).daemon $(OFILES) $(LIBS)
  19.  
  20. install: $(NAME)
  21. #    strip $(FULLNAME)
  22.     mv $(FULLNAME) /LocalApps
  23.     rm $(OFILES)
  24.  
  25. clean:
  26.     rm -f $(NAME).daemon $(OFILES)
  27.